#include "project_config.h"
#if PCU_APP_EN
#include "app_pcu.h"
#include "app_upgrade.h"
#include "app_data.h"
#include "app_control.h"
#include "app_config.h"
#include "app_upgrade.h"
#include "../h/msc.h"
#include "../h/alarm.h"
#include "bsp_log.h"
#include "sys_wdt.h"

/**
* @brief 智慧电源任务
*/
void pcu_task(void *para)
{
   app_control_init();
   threadWdt_init();
   Alarm_Init();
   Msc_Init();
   app_upgrade_init();
   app_config_init();
   app_data_init();
   vTaskDelete( NULL );
}

void application_start(void)
{
    xTaskCreate( pcu_task, "pcu_task", 512, NULL, 13, NULL );
}
#endif
